package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

public class ReqB107BillPledSubmitDetail {
    //    支付请求码
    public String reqSeqID;
    //    银行账号
    public String actNum;
    //    电子票据序列号
    public String billNo;
    //    票据币种
    public String billCur;
    //    接收人名称
    public String receName;
    //    接收人账号
    public String receAct;
    //    接收人开户行行名
    public String receBnkName;
    //    接收人开户行行号
    public String receBnkCode;
    //    接收人和原账号是否同行 1-同行 2-不同行
    public String receSameBnk;
    //   接收人直接区域
    public String receBnkArea;
    //    备注
    public String memo;
    //    票据金额
    public String billAmt;
    //    票据类型
    public String billType;
    //    申请人名称
    public String pledName;
    //    申请人开户行行号
    public String pledBnkCode;
    public String pledBnkArea;
    //    大额交易银行号
    public String bigPayBnkCode;

    //出票人名称
    public String billOpenName;
    //出票人账号
    public String billOpenAcc;
    //    业务流水号
    public String busiNo;
    //申请人组织机构代码
    public String applyCode;

    public XElement srcElement;

    public ReqB107BillPledSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        receName = srcElement.getSingleText("ReceName");
        receAct = srcElement.getSingleText("ReceAct");

        receBnkName = srcElement.getSingleText("ReceBnkName");
        receBnkCode = srcElement.getSingleText("ReceBnkCode");
        receSameBnk = srcElement.getSingleText("ReceSameBnk");
        receBnkArea = srcElement.getSingleText("ReceBnkArea");
        memo = srcElement.getSingleText("Memo");
        billAmt = srcElement.getSingleText("BillAmt");

        billType = srcElement.getSingleText("BillType");
        pledName = srcElement.getSingleText("PledName");
        pledBnkCode = srcElement.getSingleText("PledBnkCode");
        bigPayBnkCode = srcElement.getSingleText("BigPayBnkCode");

        billOpenName = srcElement.getSingleText("BillOpenName");
        billOpenAcc = srcElement.getSingleText("BillOpenAcc");
        pledBnkArea = srcElement.getSingleText("PledBnkArea");
        busiNo = srcElement.getSingleText("BusiNo");
        applyCode = srcElement.getSingleText("ApplyCode");
    }
}
